*{
    padding: 0;
    margin: 0;
}
body,div,p,a{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    background-image: url(../imgs/ft_e43a6db.jpg);
    background-size:cover;
    background-repeat: no-repeat;
}
.westbox{
    width: 47.5rem;
    height: 15rem;
    position: relative;
    left: 30%;
    top: 45%;
}
.westbox .west{
    width: 11.875rem;
    height: 100%;
    float: left;
    background-repeat: no-repeat;
    background-position-y: center;
}
.west:first-child{
    background-image: url(../imgs/west_01_3ca39fe.png);
    animation: west1 1.2s steps(8) infinite;
}
.west:nth-child(2){
    background-image: url(../imgs/west_02_47bad19.png);
    animation: west2 1.2s steps(8) infinite;

}
.west:nth-child(3){
    background-image: url(../imgs/west_03_f962447.png);
    animation: west3 1.2s steps(8) infinite;

}
.west:last-child{
    background-image: url(../imgs/west_04_6516d80.png);
    animation: west4 1.2s steps(8) infinite;

}

/* css3动画效果设置 */
@keyframes west1{
    0%{
        background-position-x: 0;
    }
    100%{
        background-position-x:-100rem;
    }
}
@keyframes west2{
    0%{
        background-position-x: 0;
    }
    100%{
        background-position-x:-100rem;
    }
}
@keyframes west3{
    0%{
        background-position-x: 0;
    }
    100%{
        background-position-x:-85rem;
    }
}
@keyframes west4{
    0%{
        background-position-x: 0;
    }
    100%{
        background-position-x:-105rem;
    }
}